package org.xlx.xlx_oa.warehouse.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.xlx.xlx_oa.common.BaseEntityDto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class FacilityDto extends BaseEntityDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备id")
    private Long id;

    @ApiModelProperty(value = "设备名称")
    private String title;

    @ApiModelProperty(value = "设备来源")
    private Long distributorId;

    @ApiModelProperty(value = "经销商公司名称")
    private String companyName;

    @ApiModelProperty(value = "储存单位")
    private String unit;

    @ApiModelProperty(value = "采购价格")
    private BigDecimal price;

    @ApiModelProperty(value = "最低容量")
    private Integer minCapacity;

    @ApiModelProperty(value = "最高容量")
    private Integer maxCapacity;

    @ApiModelProperty(value = "当前容量")
    private Integer nowCapacity;

    @ApiModelProperty(value = "过期时间")
    private LocalDateTime invalidityTime;

    @ApiModelProperty(value = "仓库id")
    private Long warehouseId;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseTitle;

}
